Optimal. Leaf size=187 \[ \frac {2 i b f^3 \left (1+c^2 x^2\right )^{5/2}}{3 c (i-c x) (d+i c d x)^{5/2} (f-i c f x)^{5/2}}+\frac {i f^3 (1-i c x)^3 \left (1+c^2 x^2\right ) \left (a+b \sinh ^{-1}(c x)\right )}{3 c (d+i c d x)^{5/2} (f-i c f x)^{5/2}}+\frac {b f^3 \left (1+c^2 x^2\right )^{5/2} \log (i-c x)}{3 c (d+i c d x)^{5/2} (f-i c f x)^{5/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.21, antiderivative size = 187, normalized size of antiderivative = 1.00, number of steps
used = 6, number of rules used = 6, integrand size = 35, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.171, Rules used = {5796, 665,
5837, 12, 641, 45} \begin {gather*} \frac {i f^3 (1-i c x)^3 \left (c^2 x^2+1\right ) \left (a+b \sinh ^{-1}(c x)\right )}{3 c (d+i c d x)^{5/2} (f-i c f x)^{5/2}}+\frac {2 i b f^3 \left (c^2 x^2+1\right )^{5/2}}{3 c (-c x+i) (d+i c d x)^{5/2} (f-i c f x)^{5/2}}+\frac {b f^3 \left (c^2 x^2+1\right )^{5/2} \log (-c x+i)}{3 c (d+i c d x)^{5/2} (f-i c f x)^{5/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 45
Rule 641
Rule 665
Rule 5796
Rule 5837
Rubi steps
\begin {align*} \int \frac {\sqrt {f-i c f x} \left (a+b \sinh ^{-1}(c x)\right )}{(d+i c d x)^{5/2}} \, dx &=\frac {\left (1+c^2 x^2\right )^{5/2} \int \frac {(f-i c f x)^3 \left (a+b \sinh ^{-1}(c x)\right )}{\left (1+c^2 x^2\right )^{5/2}} \, dx}{(d+i c d x)^{5/2} (f-i c f x)^{5/2}}\\ &=\frac {i f^3 (1-i c x)^3 \left (1+c^2 x^2\right ) \left (a+b \sinh ^{-1}(c x)\right )}{3 c (d+i c d x)^{5/2} (f-i c f x)^{5/2}}-\frac {\left (b c \left (1+c^2 x^2\right )^{5/2}\right ) \int \frac {i f^3 (1-i c x)^3}{3 c \left (1+c^2 x^2\right )^2} \, dx}{(d+i c d x)^{5/2} (f-i c f x)^{5/2}}\\ &=\frac {i f^3 (1-i c x)^3 \left (1+c^2 x^2\right ) \left (a+b \sinh ^{-1}(c x)\right )}{3 c (d+i c d x)^{5/2} (f-i c f x)^{5/2}}-\frac {\left (i b f^3 \left (1+c^2 x^2\right )^{5/2}\right ) \int \frac {(1-i c x)^3}{\left (1+c^2 x^2\right )^2} \, dx}{3 (d+i c d x)^{5/2} (f-i c f x)^{5/2}}\\ &=\frac {i f^3 (1-i c x)^3 \left (1+c^2 x^2\right ) \left (a+b \sinh ^{-1}(c x)\right )}{3 c (d+i c d x)^{5/2} (f-i c f x)^{5/2}}-\frac {\left (i b f^3 \left (1+c^2 x^2\right )^{5/2}\right ) \int \frac {1-i c x}{(1+i c x)^2} \, dx}{3 (d+i c d x)^{5/2} (f-i c f x)^{5/2}}\\ &=\frac {i f^3 (1-i c x)^3 \left (1+c^2 x^2\right ) \left (a+b \sinh ^{-1}(c x)\right )}{3 c (d+i c d x)^{5/2} (f-i c f x)^{5/2}}-\frac {\left (i b f^3 \left (1+c^2 x^2\right )^{5/2}\right ) \int \left (-\frac {2}{(-i+c x)^2}+\frac {i}{-i+c x}\right ) \, dx}{3 (d+i c d x)^{5/2} (f-i c f x)^{5/2}}\\ &=\frac {2 i b f^3 \left (1+c^2 x^2\right )^{5/2}}{3 c (i-c x) (d+i c d x)^{5/2} (f-i c f x)^{5/2}}+\frac {i f^3 (1-i c x)^3 \left (1+c^2 x^2\right ) \left (a+b \sinh ^{-1}(c x)\right )}{3 c (d+i c d x)^{5/2} (f-i c f x)^{5/2}}+\frac {b f^3 \left (1+c^2 x^2\right )^{5/2} \log (i-c x)}{3 c (d+i c d x)^{5/2} (f-i c f x)^{5/2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.27, size = 141, normalized size = 0.75 \begin {gather*} \frac {\sqrt {d+i c d x} \sqrt {f-i c f x} \left (-\left ((i+c x) \left (-i b+b c x+a \sqrt {1+c^2 x^2}\right )\right )-b (i+c x) \sqrt {1+c^2 x^2} \sinh ^{-1}(c x)+b (-i+c x)^2 \log (d+i c d x)\right )}{3 c d^3 (-i+c x)^2 \sqrt {1+c^2 x^2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 180.00, size = 0, normalized size = 0.00 \[\int \frac {\left (a +b \arcsinh \left (c x \right )\right ) \sqrt {-i c f x +f}}{\left (i c d x +d \right )^{\frac {5}{2}}}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.28, size = 219, normalized size = 1.17 \begin {gather*} \frac {1}{3} \, b c {\left (\frac {6 \, \sqrt {f}}{3 i \, c^{3} d^{\frac {5}{2}} x + 3 \, c^{2} d^{\frac {5}{2}}} + \frac {\sqrt {f} \log \left (c x - i\right )}{c^{2} d^{\frac {5}{2}}}\right )} - \frac {1}{3} \, b {\left (\frac {2 i \, \sqrt {c^{2} d f x^{2} + d f}}{c^{3} d^{3} x^{2} - 2 i \, c^{2} d^{3} x - c d^{3}} + \frac {3 i \, \sqrt {c^{2} d f x^{2} + d f}}{3 i \, c^{2} d^{3} x + 3 \, c d^{3}}\right )} \operatorname {arsinh}\left (c x\right ) - \frac {1}{3} \, a {\left (\frac {2 i \, \sqrt {c^{2} d f x^{2} + d f}}{c^{3} d^{3} x^{2} - 2 i \, c^{2} d^{3} x - c d^{3}} + \frac {3 i \, \sqrt {c^{2} d f x^{2} + d f}}{3 i \, c^{2} d^{3} x + 3 \, c d^{3}}\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Both result and optimal contain complex but leaf count of result is larger than twice
the leaf count of optimal. 548 vs. \(2 (142) = 284\).
time = 0.45, size = 548, normalized size = 2.93 \begin {gather*} -\frac {4 \, \sqrt {c^{2} x^{2} + 1} \sqrt {i \, c d x + d} \sqrt {-i \, c f x + f} b c x + 2 \, {\left (b c^{2} x^{2} + 2 i \, b c x - b\right )} \sqrt {i \, c d x + d} \sqrt {-i \, c f x + f} \log \left (c x + \sqrt {c^{2} x^{2} + 1}\right ) - {\left (c^{4} d^{3} x^{3} - i \, c^{3} d^{3} x^{2} + c^{2} d^{3} x - i \, c d^{3}\right )} \sqrt {\frac {b^{2} f}{c^{2} d^{5}}} \log \left (-\frac {{\left (i \, b c^{6} x^{2} + 2 \, b c^{5} x - 2 i \, b c^{4}\right )} \sqrt {c^{2} x^{2} + 1} \sqrt {i \, c d x + d} \sqrt {-i \, c f x + f} + {\left (i \, c^{9} d^{3} x^{4} + 2 \, c^{8} d^{3} x^{3} + i \, c^{7} d^{3} x^{2} + 2 \, c^{6} d^{3} x\right )} \sqrt {\frac {b^{2} f}{c^{2} d^{5}}}}{8 \, {\left (b c^{3} x^{3} - i \, b c^{2} x^{2} + b c x - i \, b\right )}}\right ) + {\left (c^{4} d^{3} x^{3} - i \, c^{3} d^{3} x^{2} + c^{2} d^{3} x - i \, c d^{3}\right )} \sqrt {\frac {b^{2} f}{c^{2} d^{5}}} \log \left (-\frac {{\left (i \, b c^{6} x^{2} + 2 \, b c^{5} x - 2 i \, b c^{4}\right )} \sqrt {c^{2} x^{2} + 1} \sqrt {i \, c d x + d} \sqrt {-i \, c f x + f} + {\left (-i \, c^{9} d^{3} x^{4} - 2 \, c^{8} d^{3} x^{3} - i \, c^{7} d^{3} x^{2} - 2 \, c^{6} d^{3} x\right )} \sqrt {\frac {b^{2} f}{c^{2} d^{5}}}}{8 \, {\left (b c^{3} x^{3} - i \, b c^{2} x^{2} + b c x - i \, b\right )}}\right ) + 2 \, {\left (a c^{2} x^{2} + 2 i \, a c x - a\right )} \sqrt {i \, c d x + d} \sqrt {-i \, c f x + f}}{6 \, {\left (c^{4} d^{3} x^{3} - i \, c^{3} d^{3} x^{2} + c^{2} d^{3} x - i \, c d^{3}\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\sqrt {- i f \left (c x + i\right )} \left (a + b \operatorname {asinh}{\left (c x \right )}\right )}{\left (i d \left (c x - i\right )\right )^{\frac {5}{2}}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {\left (a+b\,\mathrm {asinh}\left (c\,x\right )\right )\,\sqrt {f-c\,f\,x\,1{}\mathrm {i}}}{{\left (d+c\,d\,x\,1{}\mathrm {i}\right )}^{5/2}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________